<template>
  <div class="My_input">
    <slot name="laber"></slot>
    <input type="text" :value="modelValue" @input="$emit('update:modelValue', $event.target.value)" @blur="$emit('blur')">
    <slot name="icon"></slot>
  </div>
</template>

<script>
import { ref, reactive, toRefs } from "vue";
export default {
  setup() {},
  props:{
    modelValue:[Number,String]
  }
};
</script>
<style lang="scss" scoped>
.My_input{
  display: flex;
  height: 50px;
  align-items: center;
  justify-content: center;
  input{
    height: 30px;
    border-radius: 5px;
    width: 200px;
  }
}
</style>